package com.theo.service;

import com.theo.entity.StockInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 方涛
 * @since 2021-02-02
 */
public interface StockInfoService extends IService<StockInfo> {

    int saveStockInfo(StockInfo stockInfo);

    int deleteStockInfo(Integer id);

    int updateSotckInfo(StockInfo stockInfo);

    List<StockInfo> queryAllStockInfo();

    StockInfo queryStockInfoById(Integer id);

    List<StockInfo> queryStockInfoByHospitalId(Integer id);

    StockInfo queryStockInfoByArticleId(Integer id);
}
